package com.shooter.server;

import com.scorpio.server.IMServer;
import com.shooter.utils.PrintUtil;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

/**
 * Created by BLACK on 2018/3/27.
 */
public class BaseServletContextListener implements ServletContextListener {
    @Override
    public void contextInitialized(ServletContextEvent event) {
        IMServer.openServer();
        PrintUtil.printMsg(ServiceApi.TEXT_00000);
    }

    @Override
    public void contextDestroyed(ServletContextEvent event) {

    }
}
